<?php

require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
//require_once(dirname(__FILE__).'/../symfony/config/ProjectConfiguration.class.php');
//require_once(dirname(__FILE__).'/CompatibleBrowser.class.php');

//if(CompatibleBrowser::checkCompatibility())
    $configuration = ProjectConfiguration::getApplicationConfiguration('web', 'dev', true);
//else
//    $configuration = ProjectConfiguration::getApplicationConfiguration('compatibility', 'prod', false);
sfContext::createInstance($configuration)->dispatch();
